package com.ihr360.excel.config;

import com.ihr360.excel.specification.ColumnSpecification;

import java.util.List;
import java.util.Map;

public abstract class AbstractIhr360ExcelConfiguration extends ExcelConfigurerAdapter {


    public AbstractIhr360ExcelConfiguration() {

    }

    public void setRowNumKey(String rowNumKey) {
        this.rowNumKey = rowNumKey;
    }

    public void setShowRowNum(boolean showRowNum) {
        this.showRowNum = showRowNum;
    }

    public void configureAtLeastOneOrIgnoreRow(List<List<String>> atLeastOneOrIgnoreRow) {
        this.atLeastOneOrIgnoreRow = atLeastOneOrIgnoreRow;
    }


    public void configureHeaderColumnJudge(List<List<String>> headerColumnJudge) {
        this.headerColumnJudge = headerColumnJudge;
    }


    public void enableMatchStaff(boolean enableMatchStaff) {
        this.enableMatchStaff = enableMatchStaff;
    }


    public void configureStaffNameAlias(List<String> staffNameAlias) {
        this.staffNameAlias = staffNameAlias;
    }


    public void configureMobileNoAlias(List<String> mobileNoAlias) {
        this.mobileNoAlias = mobileNoAlias;
    }

    public void configureColumnSpecification(List<ColumnSpecification> columnSpecifications) {
        this.columnSpecifications = columnSpecifications;
    }


    public void setImportType(Class type) {
        this.importType = type;
    }

    public void configureImportHeader(Map<String, List<String>> importHeader) {
        this.importHeader = importHeader;
    }

    public String getRowNumKey() {
        return rowNumKey;
    }

    public boolean getShowRowNum() {
        return showRowNum;
    }

    public List<List<String>> getAtLeastOneOrIgnoreRow() {
        return atLeastOneOrIgnoreRow;
    }

    public List<List<String>> getHeaderColumnJudge() {
        return headerColumnJudge;
    }

    public boolean getEnableMatchStaff() {
        return enableMatchStaff;
    }

    public List<String> getStaffNameAlias() {
        return staffNameAlias;
    }

    public List<String> getMobileNoAlias() {
        return mobileNoAlias;
    }

    public List<ColumnSpecification> getColumnSpecification() {
        return columnSpecifications;
    }

    public Class getImportType() {
        return importType;
    }

    public Map<String, List<String>> getImportHeader() {
        return importHeader;
    }


}
